package org.dtrd.modules.record.entity.bean;

import java.io.Serializable;

/**
 * Created by Chao.Z on 09/09/2017.
 */
public class BloodSugar implements Serializable {
	private String bloodSugarType;
	private Double bloodSugar;
	private String bloodFlagBit;
	private String bloodTimeStemp;
	private Double bloodTag;
	private Integer sugarTimeType;

	/**
	 * 
	 */
	public BloodSugar() {
		super();
	}

	/**
	 * @param bloodSugarType
	 * @param bloodSugar
	 * @param bloodFlagBit
	 * @param bloodTimeStemp
	 * @param bloodTag
	 * @param sugarTimeType
	 */
	public BloodSugar(String bloodSugarType, Double bloodSugar, String bloodFlagBit, String bloodTimeStemp,
                      Double bloodTag, Integer sugarTimeType) {
		super();
		this.bloodSugarType = bloodSugarType;
		this.bloodSugar = bloodSugar;
		this.bloodFlagBit = bloodFlagBit;
		this.bloodTimeStemp = bloodTimeStemp;
		this.bloodTag = bloodTag;
		this.sugarTimeType = sugarTimeType;
	}

	public Double getBloodTag() {
		return bloodTag;
	}

	public void setBloodTag(Double bloodTag) {
		this.bloodTag = bloodTag;
	}

	public String getBloodSugarType() {
		return bloodSugarType;
	}

	public void setBloodSugarType(String bloodSugarType) {
		this.bloodSugarType = bloodSugarType;
	}

	public Double getBloodSugar() {
		return bloodSugar;
	}

	public void setBloodSugar(Double bloodSugar) {
		this.bloodSugar = bloodSugar;
	}

	public String getBloodFlagBit() {
		return bloodFlagBit;
	}

	public void setBloodFlagBit(String bloodFlagBit) {
		this.bloodFlagBit = bloodFlagBit;
	}

	public String getBloodTimeStemp() {
		return bloodTimeStemp;
	}

	public void setBloodTimeStemp(String bloodTimeStemp) {
		this.bloodTimeStemp = bloodTimeStemp;
	}

	public Integer getSugarTimeType() {
		return sugarTimeType;
	}

	public void setSugarTimeType(Integer sugarTimeType) {
		this.sugarTimeType = sugarTimeType;
	}

	@Override
	public String toString() {
		return "BloodSugar [" + (bloodSugarType != null ? "bloodSugarType=" + bloodSugarType + ", " : "")
				+ (bloodSugar != null ? "bloodSugar=" + bloodSugar + ", " : "")
				+ (bloodFlagBit != null ? "bloodFlagBit=" + bloodFlagBit + ", " : "")
				+ (bloodTimeStemp != null ? "bloodTimeStemp=" + bloodTimeStemp + ", " : "")
				+ (bloodTag != null ? "bloodTag=" + bloodTag + ", " : "")
				+ (sugarTimeType != null ? "sugarTimeType=" + sugarTimeType : "") + "]\n";
	}

}
